package demo7;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("旺财", 1);
        dog.eat();
        dog.bark();
    }
}
